home *** CD-ROM | disk | FTP | other *** search
Wrap
XSetup plugin | 1999-07-15 | 1.6 KB | 54 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0" "TYPE"="7" "COUNT"="5" "UIPATH"="System\Software Installation\Windows Installer" "NAME"="Media Access Order" "VERSION"="1.02" "LANGUAGE"="VBScript" "TEXT 1"="First network, then CD/DVD, then URL" "TEXT 2"="First network, then URL, then CD/DVD" "TEXT 3"="First CD/DVD, then network, then URL" "TEXT 4"="First URL, then network, then CD/DVD" "TEXT 5"="First URL, then CD/DVD, then network" "DESCRIPTION 1"="When searching for the source of installation files, the Windows Installer will search the different locations in the order you can configure here." "AUTHOR"="Xteq Systems" "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved" "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com." sPathSys="HKLM\Software\Policies\Microsoft\Windows\Installer\" sPathUsr="HKCU\Software\Policies\Microsoft\Windows\Installer\" sV1="SearchOrder" 'STR - usr Sub Plugin_Initialize s=RegReadValue(sPathUsr & sV1) s=Ucase(s) if s="NMU" then SetUIElement 1,true if s="NUM" then SetUIElement 2,true if s="MNU" then SetUIElement 3,true if s="UNM" then SetUIElement 4,true if s="UMN" then SetUIElement 5,true End Sub Sub Plugin_CheckData(ElementIndex) End Sub Sub Plugin_Apply(ElementIndex,ElementSubIndex) s="" if GetUIElement(1)=true then s="NMU" if GetUIElement(2)=true then s="NUM" if GetUIElement(3)=true then s="MNU" if GetUIElement(4)=true then s="UNM" if GetUIElement(5)=true then s="UMN" if len(s)>0 then Call RegWriteValue(sPathUsr & sV1,s,1) end if End Sub Sub Plugin_Terminate End Sub